﻿using AMAP.Domain;
using AMAP.ServiceInterfaces.Common;

namespace AMAP.ServiceInterfaces
{
    public interface IDeliveryService : IRepositoryService<Delivery>
    {
        /// <summary>
        /// Computes and returns the number of basket to deliver based on the given basket id
        /// </summary>
        /// <param name="BasketId">Id of the basket type</param>
        /// <returns>The number of basket to deliver</returns>
        int GetCountBasedOnBasketId(int BasketId);
    }
}
